package com.wpedu.pattern.factory.simpleFactory;

import com.wpedu.pattern.factory.ICar;

/**
 * test
 *
 * @author Administrator
 * @create 2019 / 03 / 19 : 20:55
 **/
public class SimpleFactoryTest {
    public static void main(String[] args) {
        CarFactory factory = new CarFactory();
        ICar car = factory.build("Benz");
        car.color();
    }
}
